package com.neuedu.corejava.ch8;

/**
 * 20190806
 * 自定义异常类
 * 1.编写一个类，继承Exception类或它的子类RuntimeException
 * 2.重写构造方法
 * 3.在项目中使用自定义的异常类
 * @author admin
 *
 */
public class CrmException extends Exception{
	/**
	 * 这是序列化编号，用于序列化对象进行识别的编号
	 * 序列化过程是对数据进行整理的过程，整理后的数据更适合网络传输，I/O读写
	 */
	
	private static final long serialVersionUID=9048390763982575386L;
	

	public CrmException() {
		super();
		// TODO Auto-generated constructor stub
	}

	public CrmException(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
		// TODO Auto-generated constructor stub
	}

	public CrmException(String message, Throwable cause) {
		super(message, cause);
		// TODO Auto-generated constructor stub
	}

	public CrmException(String message) {
		super(message);
		// TODO Auto-generated constructor stub
	}

	public CrmException(Throwable cause) {
		super(cause);
		// TODO Auto-generated constructor stub
	}
	

}
